<%  
render_tabnav :artist, 
              :generate_css => false do 
    
	unless @artist.new_record?
  	add_tab do |t|
    	t.named '1. Basic Info'
    	t.titled 'Basic Info'
    	t.links_to hash_for_edit_admin_artist_url(:id => @artist.to_param)
		end

		add_tab do |t|
			t.named '2. Description'
			t.titled 'Description'
			t.links_to hash_for_new_admin_artist_artist_description_url(:artist_id => @artist.to_param)
		end

		add_tab do |t|
			t.named '3. Media'
			t.titled 'Media'
			t.links_to hash_for_new_admin_artist_media_url(:artist_id => @artist.to_param)
		end

		add_tab do |t|
			t.named '4. Map'
			t.titled 'Map'
			t.links_to hash_for_map_admin_artist_url(:id => @artist.to_param)
		end

		add_tab do |t|
			t.named '5. Publish'
			t.titled 'Publish'
			t.links_to :controller => 'admin/artists', :action => 'publish', :id => @artist.id
		end
  end 
end 
%>